package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @program: sys_lab_assistant
 * @description: 实验室类
 * @author: 作者
 * @create: 2021-06-29 11:17
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("lab")
public class Lab {

    private int labId; // 编号

    private String labName; // 实验室名称

    private int dId; // 部门编号

    private String account; // 实验室技术员

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public Lab(String labName, int dId, String account) {
        this.labName = labName;
        this.dId = dId;
        this.account = account;
    }

    public Lab(int labId, String labName, int dId, String account) {
        this.labId = labId;
        this.labName = labName;
        this.dId = dId;
        this.account = account;
    }
}
